]> git.neil.brown.name Git - wiggle.git/commit
vpatch: allow a word to have text before the newline.
authorNeilBrown <neilb@suse.de>
Fri, 1 Mar 2013 08:09:35 +0000 (19:09 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 1 Mar 2013 08:09:35 +0000 (19:09 +1100)
commit76c16fb9d6995695a9de05fc9e69435d6e51d3ab
tree43cc624a70aea8f3721a61feccb2b58f0293c984
parentd00561006db85507bf5643d0554ce598b863bc2c
vpatch: allow a word to have text before the newline.

Previously we don't print out ends_line() words at all.
But soon a word might have some content plus a newline at
the end.
So restructure the display to print non-newline characters
from any word.
Note that we cannot have characters *after* a newline.
Doing that would break too much of wiggle's formating
assumptions.

Signed-off-by: NeilBrown <neilb@suse.de>
vpatch.c